<?php $user = Auth::user()->load('frame'); ?>
<div class="ct_left">
    <h2 class="nav-title"><i class="icon"></i>简历管理</h2>
    <ul class="tab-nav1" id="tab-nav2">
        <li class="@if(request()->route()->getName()=='resume_self') active @endif">
            <a href="@if(request()->route()->getName()=='resume_self') javascript:; @else {{route('resume_self')}} @endif">我的简历库</a>
        </li>
        @if(Auth::user()->hasAnyRole(['admin']) || (Auth::user()->type==1 && $user->frame && $user->frame->branch_id==1))
            <li class="@if(request()->route()->getName()=='resume_all') active @endif">
                <a href="{{route('resume_all')}}">公司简历池</a>
            </li>
        @endif

    </ul>
</div>